# constructProj/jsonConfig.py
# -*-coding:utf-8 -*-
# @file       jsonConfig.py
# @author     yearnext
# @version    1.0.0
# @date       2021-11-19
# @brief      constructProj jsonConfig.py component
import os
import sys
import traceback
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from uLedWidget import uLedWidget


if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    window = uLedWidget()

    icon = QtGui.QIcon()
    icon.addPixmap(QtGui.QPixmap("..\\ico\\alpha_tool_main_logo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
    window.setWindowIcon(icon)

    progName = u'uLed Widget Demo'
    verStr = u'1.0.0'
    titleStr = str('{0} Ver{1}'.format(progName, verStr))
    window.setWindowTitle(titleStr)
    window.show()
    window.setOn()
    sys.exit(app.exec_())

